package cq.zhcqk.util;

import android.app.Activity;
import android.content.Context;

import cq.zhcqk.R;

/**
 * Created by zhangle on 2017/12/6.
 */
public class JumpUtil {
    public static void in(Activity context){
        context.overridePendingTransition(R.anim.in_from_right, R.anim.out_to_left);
    }

    public static void out(Activity context){
        context.overridePendingTransition(R.anim.slide_left_in, R.anim.slide_right_out);
    }
}
